package com.itheima.c_for;

/**
 * 目标：学习 for 循环语句
 */
public class Demo01 {

    public static void main(String[] args) {
        //循环打印3次hello world
        for (int i = 0; i < 3; i++) {
            System.out.println("hello world");
        }

        System.out.println("-----------------------");

        for (int i = 3; i > 0; i--) {
            System.out.println("hello world");
        }
    }
}
